height=float(input ("请输入你的身高:(m)"))
weight=float(input("请输入你的体重(kg):"))
BIM=weight/(height*height)
print('你的BIM值为：%.2f'%BIM)
if BIM<18.5:
    print("体重过轻!")
elif 18.5<=BIM<=25:
    print("体重正常!")
elif 25<=BIM<=28:
    print("体重过重!")
elif 28<=BIM<=32:
    print ("体重过于肥胖!")
elif BIM >=32:
    print("严重肥胖!")